package com.pptv.mtbu.ottflow.action;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

import com.opensymphony.xwork2.*;
import org.apache.struts2.interceptor.*;

import com.pptv.mtbu.ottflow.service.*;
import com.pptv.mtbu.ottflow.exception.*;
import com.pptv.mtbu.ottflow.action.base.*;

import java.util.List;


public class ViewChannelAction extends CpBaseAction
{

	private List records;

	public void setChannels(List records)
	{
		this.records = records;
	}
	public List getChannels()
	{
		return this.records;
	}
	public String execute()
		throws Exception
	{

		ActionContext ctx = ActionContext.getContext();
	
		String mgrName = (String)ctx.getSession()
			.get(WebConstant.USER);
	//	setChannels(mgr.getEmpsByMgr(mgrName));
		return SUCCESS;
	}
}